package net.zoneland.zrdp.common.utils.ip;



/**
 * 获取地址类
 *
 * @author zonevue
 */
public class AddressUtils {
    private AddressUtils() {
        throw new IllegalStateException("Utility class");
    }

    // 未知地址
    public static final String UNKNOWN = "XX XX";

    public static String getRealAddressByIP(String ip) {
        // 内网不查询
        if (IpUtils.internalIp(ip)) {
            return "内网IP";
        }
        return UNKNOWN;
    }
}
